<?php
/* SVN FILE: $Id: default.ctp 7945 2008-12-19 02:16:01Z gwoo $ */
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @filesource
 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.libs.view.templates.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @version       $Revision: 7945 $
 * @modifiedby    $LastChangedBy: gwoo $
 * @lastmodified  $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $html->charset('UTF-8'); ?>
	<title>
		<?php __('Sofi: Proyecto Mastergoal!!'); ?>  
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $html->meta('icon');

		echo $html->css('sofi');

		echo $scripts_for_layout;
		if(isset($javascript)){
			echo $javascript->link('prototype.js');
			echo $javascript->link('scriptaculous.js');
		}
	?>
	
</head>
<body>
	<div id="container">
		<div id="header">
			<div class="logo">
		<!--		<h1>YourSite</h1>
				<h2>Your slogan goes here</h2>-->
			</div>
			<div id="headinfo">
				<?php echo $html->link(__('Logout', true), array('controller'=> 'users', 'action'=>'logout')); ?>
				<?php echo $html->link(__('Home', true), array('controller'=> 'users', 'action'=>'login')); ?>
				
			</div>
		</div>
		<div id="tabs">
			<ul>
			  <li><a href="http://localhost/mastergoal/users/login"><span>Home</span></a></li>
			  <li><a href="http://localhost/mastergoal/temas/index"><span>Foros2</span></a></li>
			  <li>
			  <?php //echo $html->link('<span>Foro</span>',array('controller' => 'temas','action'=>'index')) ?></li>
			  
			  <li><a href="#"><span>CSS Menus</span></a></li>
			  <li><a href="#"><span>CSS Tutorials</span></a></li>
			  <li><a href="#"><span>Informacion</span></a></li>
			  <li><a rel="nofollow" target="_blank" href="http://www.exploding-boy.com/" title="explodingboy"><span>explodingboy</span></a></li>
			</ul>
		</div>
		
	  <!-- End tabs -->
		
		<div id="content">

			<?php $session->flash(); ?>

			<?php echo $content_for_layout; ?>
			
		</div>
		
		<div id="footer">
		
		<p>&copy; All content copyright  2009 <strong>Mastergoal</strong>, all rights reserved. </a><br />
			By Sofia Alvarenga, Isabel Ortiz, Martin Escobar, Juan Santa Cruz, Diego Bosch<br/>
				Ingenieria de Software 2009</p>
		</div>

	</div>
	<?php echo $cakeDebug; ?>
</body>
</html>